package apis.amapv2.com.window;

import java.util.ArrayList;

import apis.amapv2.com.listviewlibrary.activity.BaseListActivty;
import apis.amapv2.com.listviewlibrary.bean.ItemObject;

public class SetFlagActivity extends BaseListActivty {

    @Override
    protected void initData() {
        ArrayList<ItemObject> data = new ArrayList<>();
        data.add(new ItemObject("getWindow().setFlag()的知识",SetFlagKnowledgeActivity.class));
        data.add(new ItemObject("getWindow().setFlag(WindowManager.LayoutParams.FLAG_FULLSCREEN)",
                FullScreenActivity.class));
        data.add(new ItemObject("getWindow().setFlag(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)",
                ScreenOnActivity.class));

        mMyListView.setData(data);
    }
}
